<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>ThinkPHP示例：多语言</title>
<link rel='stylesheet' type='text/css' href='__PUBLIC__/Css/common.css'>
 </head>
 <body>
 <div class="main">
 <h2>ThinkPHP示例之：多语言支持</h2>
给项目定义了三个语言包：简体中文、繁体中文和英文。<br/>
 <table  cellpadding=3 cellspacing=3>
  <tr>
	<td><div class="result"><?php echo (L("welcome")); ?> <?php echo (L("remark")); ?></div></td>
 </tr>
 <tr>
	<td class="tLeft" >切换到：<a href="?l=zh-cn">简体中文</a> | <a href="?l=zh-tw">繁体中文</a> | <a href="?l=en-us">英文</a></td>
 </tr>
 <tr>
	<td><hr> 示例源码<br/>配置文件config.php<br/><?php highlight_file(APP_PATH.'/Conf/config.php'); ?><br/>
	控制器IndexAction类<br/><?php highlight_file(LIB_PATH.'Action/IndexAction.class.php'); ?>
	</td>
 </tr>
 </table>
</div>
 </body>
</html>